//
/***********************************************************
             File name:      main.c
             Author:         Bitat (陆叁柒)
             Email :         Bitat@qq.com
             Gitee :         https://gitee.com/bitat
             CSDN  :         https://blog.csdn.net/bitat 
             History:        2023/3/26
************************************************************/
    
//奥巴马画方块
#include <stdio.h>

int main()
{
    int a,b;
    char c = 0;
    scanf("%d %c",&a,&c);
    b = a/2 + a%2;  //四舍五入
    int i = 0;
    int j = 0;
    for(i = 0; i < b; i++)
    {
        for(j = 0; j < a; j++)
        {
            printf("%c",c);
        }
        printf("\n");
    }
    return 0;
}


